import React, { Component } from 'react';
import qs from 'querystring'
class Home extends Component {
    render() {
        return (
            <div>
                首页
            </div>
        );
    };
    componentDidMount() {
        console.log('home', this);
        let str = this.props.location.search.substr(1)
        console.log(qs.parse(str));
    }
}

export default Home;
